import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);

export default new Vuex.Store({
    state: {
        userId: '',//623502061
        playListId: '1417862046',
        songsList: [],
        machineOption: {}
    },
    mutations: {
        userId(state, userid) {
            state.userId = userid
        },
        machineOption(state,option) {
            state.machineOption = option
        }
    }
})
